package com.xiaoKe.zhonghzu.ui.dialog;
import android.text.TextUtils;
import com.xiaoKe.zhonghzu.databinding.DialogHintBinding;
import com.xiaoKe.zhonghzu.global.dialog.CenterDialog;

/**
 * @ProjectName : app
 * @Author : Shijingna
 * @Time : 2021/12/4 8:28 下午
 * @Description : 通用
 */
public class HintDialog extends CenterDialog<DialogHintBinding>  {
    private String titleStr, contentStr;
    private String eContent;
    String typeString = "";

    @Override
    protected void initView() {
    }

    @Override
    protected void initData() {


        binding.content.setText(contentStr);
        if (!TextUtils.isEmpty(titleStr)) {
            binding.title.setText(titleStr);

        }
        binding.edContent.setText(eContent);

    }

    public void setType(String type) {
        this.typeString = type;

    }

    public void setData(String title, String content) {
        this.titleStr = title;
        this.contentStr = content;

    }

    public void setData(String title, String content, String eContent) {
        this.titleStr = title;
        this.contentStr = content;
        this.eContent = eContent;

    }
}
